package dao;

import domian.Vip;

public interface VipDao {
    /**
     * 添加vip
     *
     * @param vip vip信息
     * @return
     */
    Integer addVip(Vip vip);

    /**
     * 修改vip
     *
     * @param vip vip信息
     * @return
     */
    Integer updateVip(Vip vip);

    /**
     * 查询单个vip
     *
     * @param uid 用户id
     * @return
     */
    Vip inquire(Integer uid);
}
